﻿@model BDGetQuote.Web.Models.UserInfo

@{
    ViewBag.Title = "BD Quote - Login";
    Layout = "~/Views/Shared/_BlankPage.cshtml";
}
@using (Html.BeginForm())
{
    
    <div class="x-header">
        <div class="container">
            <img src="/Content/Images/Logo.png" alt="B&D Get Quote" class="logo" />
        </div>
    </div>
    <div class="x-content">
        <div class="container">
            <h4 class="x-boxed">Welcome to B&D Quote</h4>
            <div class="x-boxed thumbnail">
                <table class="loginForm">
                    <tr>
                        <td><strong>@Html.DisplayNameFor(model => model.UserId)</strong></td>
                    </tr>
                    <tr>
                        <td>
                            @Html.TextBoxFor(model => model.UserId, new { @class = "span4" })
                            <div>@Html.ValidationMessage("UserId")</div> 
                        </td>
                    </tr>
                    <tr>
                        <td><strong>@Html.DisplayNameFor(model => model.Password)</strong></td>
                    </tr>
                    <tr>
                        <td>
                            @Html.PasswordFor(model => model.Password, new { @class = "span4" })
                            <div>@Html.ValidationMessage("Password")</div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="submit" value="Login" class="btn btn-primary span2" />
                        </td>
                    </tr>
                </table>
                <div class="field-validation-error">@ViewBag.ErrorMessage</div>
            </div>
        </div>
    </div>
    <div class="x-footer">
        <div class="container">
            <p class="pull-left">
                B&D Quote © Copyright 2014 - All Rights Reserved.
            </p>
            <p class="pull-right">
                <a href="#">Forgot your password?</a>
                <a href="#">Terms of use</a>
                <a href="#">Privacy</a>
            </p>
        </div>
    </div>
}

